package com.molichuxing.services.infrastructure.bean;

import java.io.Serializable;
import java.time.LocalDateTime;

public class GroupDesenseBean implements Serializable {
    /**
     * id id
     */
    private Integer id;

    /**
     * 角色id group_id
     */
    private Integer groupId;

    /**
     * 脱敏id desense_id
     */
    private Integer desenseId;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * permission_group_desense
     */
    private static final long serialVersionUID = 1L;

    /**
     * id
     * @date 2019-09-29 15:05:58
     * @return id id
     */
    public Integer getId() {
        return id;
    }

    /**
     * id
     * @date 2019-09-29 15:05:58
     * @param id id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 角色id
     * @date 2019-09-29 15:05:58
     * @return group_id 角色id
     */
    public Integer getGroupId() {
        return groupId;
    }

    /**
     * 角色id
     * @date 2019-09-29 15:05:58
     * @param groupId 角色id
     */
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    /**
     * 脱敏id
     * @date 2019-09-29 15:05:58
     * @return desense_id 脱敏id
     */
    public Integer getDesenseId() {
        return desenseId;
    }

    /**
     * 脱敏id
     * @date 2019-09-29 15:05:58
     * @param desenseId 脱敏id
     */
    public void setDesenseId(Integer desenseId) {
        this.desenseId = desenseId;
    }

    /**
     * 创建时间
     * @date 2019-09-29 15:05:58
     * @return gmt_create 创建时间
     */
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @date 2019-09-29 15:05:58
     * @param gmtCreate 创建时间
     */
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 更新时间
     * @date 2019-09-29 15:05:58
     * @return gmt_modified 更新时间
     */
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 更新时间
     * @date 2019-09-29 15:05:58
     * @param gmtModified 更新时间
     */
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        GroupDesenseBean other = (GroupDesenseBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getGroupId() == null ? other.getGroupId() == null : this.getGroupId().equals(other.getGroupId()))
            && (this.getDesenseId() == null ? other.getDesenseId() == null : this.getDesenseId().equals(other.getDesenseId()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getGroupId() == null) ? 0 : getGroupId().hashCode());
        result = prime * result + ((getDesenseId() == null) ? 0 : getDesenseId().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", groupId=").append(groupId);
        sb.append(", desenseId=").append(desenseId);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}